# -*- coding:utf-8 -*-

import sqlite3

logdb = 'log.db'
conn = sqlite3.connect(logdb)
cursor = conn.cursor()
cursor.execute('UPDATE lock SET islock = (?) WHERE id = 1', (0, ))
conn.commit()
cursor.close()
conn.close()
